package com.base.mapper.voipmapper;

import com.base.po.voip.WebPayOrder;
import com.base.po.voip.WebPayOrderExample;
import java.util.List;

import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;

public interface WebPayOrderMapper {
    int countByExample(WebPayOrderExample example);

    int deleteByExample(WebPayOrderExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WebPayOrder record);

    int insertSelective(WebPayOrder record);

    List<WebPayOrder> selectByExample(WebPayOrderExample example);

    WebPayOrder selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WebPayOrder record, @Param("example") WebPayOrderExample example);

    int updateByExample(@Param("record") WebPayOrder record, @Param("example") WebPayOrderExample example);

    int updateByPrimaryKeySelective(WebPayOrder record);

    int updateByPrimaryKey(WebPayOrder record);

    WebPayOrder selectByOrderNum(String orderNum);

    Integer countByMobile(@Param("mobile") String mobile, @Param("parentid") String parentid);

    List<WebPayOrder> selectByMobile(@Param("page") Page page,@Param("mobile") String mobile,@Param("parentid") String parentid);
}